package com.dlc.apk.ui.model

import com.dlc.apk.service.OnProcessListener
import com.dlc.apk.utils.LogPlus

open class BaseModel {
    var onProcessListener: OnProcessListener<Any> = object : OnProcessListener<Any> {
        override fun onStart() {
            LogPlus.e("###service开始处理###")
        }

        override fun onSuccess() {
            LogPlus.e("###service处理成功###")
        }

        override fun onFailure(extra: Any?, msg: String?) {
            LogPlus.e("###service处理失败###")
        }

        override fun onComplete() {
            LogPlus.e("###service处理完成###")
        }
    }
}